﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace TimeTracker.Controls
{
    public partial class Note : UserControl
    {
        public DateTime MaxTime
        {
            get { return this.dateTimePicker1.MaxDate; }
            set { this.dateTimePicker1.MaxDate = value; }
        }

        public DateTime MinTime
        {
            get { return this.dateTimePicker1.MinDate; }
            set { this.dateTimePicker1.MinDate = value; }
        }

        public DateTime Time
        {
            get { return this.dateTimePicker1.Value; }
            set { this.dateTimePicker1.Value = value; }
        }

        public override string Text
        {
            get { return this.textBox1.Text; }
            set { this.textBox1.Text = value; }
        }

        public Note()
        {
            InitializeComponent();
        }
    }
}
